package com.zhanghe.study.design_pattern.mediator_pattern;

/**
 * 同事类的抽象父类
 * @author zh
 * @date 2022/10/10 12:04
 */
public abstract class Colleague {
    private Mediator mediator;

    public Colleague(Mediator mediator){
        this.mediator = mediator;
    }

    public Mediator getMediator() {
        return mediator;
    }
}
